package words;


class Utils {

  static public boolean isVerb(String strPOS)
  {
    return strPOS.indexOf("VB") == 0;
  }


  static public boolean isNoun(String strPOS)
  {
    return strPOS.indexOf("NN") == 0;
  }


  static public boolean isNegation(String strToken)
  {
    strToken = strToken.toLowerCase();
    
    return strToken.equals("not") || strToken.equals("n't");
  }

}
